class Api::V1::GradeController < ApplicationController
   
  def index
	s = Grade.all
	render :json => s
  end

  def show
	s = Grade.joins(:School).where( schools: {id:params[:id]} ) 
    render :json => s
  end
  
end